package com.quanyan.assets.mapper;

import com.quanyan.assets.entity.TbCouponInfo;
import com.quanyan.assets.entity.TbCouponInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbCouponInfoMapper {
    int countByExample(TbCouponInfoExample example);

    int deleteByExample(TbCouponInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbCouponInfo record);

    int insertSelective(TbCouponInfo record);

    List<TbCouponInfo> selectByExample(TbCouponInfoExample example);

    TbCouponInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbCouponInfo record, @Param("example") TbCouponInfoExample example);

    int updateByExample(@Param("record") TbCouponInfo record, @Param("example") TbCouponInfoExample example);

    int updateByPrimaryKeySelective(TbCouponInfo record);

    int updateByPrimaryKey(TbCouponInfo record);
}